/**
 * TCSS 360 System Q&A
 * Winter Qtr 2013
 * 
 * darksideoftheloom:
 * Michael Wamsley
 * Roger Trottier
 * Shane Kwon
 * Joshua Warner
 */
package darksideoftheloom;

import static org.junit.Assert.*;

import org.junit.Test;

/**
 * Test class for the Attendee class.
 * 
 * @author Michael Wamsley
 * @version 2-21-2013
 */
public class ContestantTest {

	@Test
	//Tests wither the constructor is working.
	public void testConstructor() {
		Attendee a1 = new Attendee("Lincoln", "360-553-4321", "55537 OldTown", "foundfather@gmail.com",
				"TopHat", "virginia");
		
		assertEquals(a1.getName(), "Lincoln");
		assertEquals(a1.getPhoneNumber(), "360-553-4321");
		assertEquals(a1.getAddress(), "55537 OldTown");
		assertEquals(a1.getEmail(), "foundfather@gmail.com");
		assertEquals(a1.getUsername(),"TopHat");
		assertEquals(a1.getPassword(), "virginia");
	}

}
